package finance.api;

import finance.api.vo.FinanceCheckQueryVo;
import finance.model.FinanceCheck;
import utils.sql.PageVo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created by admin on 2017/3/8.
 */
public interface FinanceCheckApi {
    PageVo findFinanceCheckInfo(String orderNo, String realStatus, String payType, String realStartTime, String realEndTime, String orderStartTime, String orderEndTime, String isSetup, int size, int number);

    FinanceCheckQueryVo findFinanceCheckVoByOrderNo(String orderNo);

    List<Map<String, Object>> findFinanceCheckInfo(String orderNo, String realStatus, String payType, String realStartTime, String realEndTime, String orderStartTime, String orderEndTime, String isSetup);

    FinanceCheck findByOrderNo(String orderNo);

    FinanceCheck save(FinanceCheck financeCheck);

    int updateFinanceCheckByOrderNo(String orderNo, Date realTime, BigDecimal realPrice, String realStatus, long overDay, BigDecimal interest, BigDecimal rateOne, BigDecimal rateTwo, BigDecimal rateThree);
}
